<%-------------------------------------------------------------------
 * 页面名称：CorpAccountUserInfo.jsp
 * 功能描述：查看企业信息
 * Action  : 
 *
 *-------------------------------------------------------------------
--%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="struts-html.tld" prefix="html"%>
<%@ taglib uri="struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="struts-logic.tld" prefix="logic"%>
<%@ taglib uri="struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="ipb" uri="/WEB-INF/conf/tld/ipb.tld"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%@ page import="cn.agiledata.bank.common.util.Constant"%>
<%@ page import="cn.agiledata.bank.account.service.IAccountConst"%>
<%@ page import="cn.agiledata.bank.account.service.AccountSummary"%>
<%
	String path = request.getContextPath();
	AccountSummary user = (AccountSummary) session
			.getAttribute(Constant.SESSION_ACCOUNT_SUMMARY);
%>
<script language="javascript">
   	function openPhoto(property) {
	    window.open('<%=path%>/page/common/showPhoto.action?dbProperty='+property, '', 'height=400, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes,resizable=yes,location=no, status=no') 
   	}
</script>
<div id="main">
	<div class="content_right">
		<div style="width:745px;margin-left:10px;">
			<div class="titleinfo">
				查看企业信息
			</div>
			<div class="edit_pass">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<bean:define id="company" name="account" property="accountCompany" />
					<!--Email地址-->
					<tr>
						<td width="20%" height="40" align="right">
							Email地址：
						</td>
						<td>
							<bean:write name="account" property="email" />
						</td>
					</tr>
					<!--企业名称-->
					<tr>
						<td width="20%" height="40" align="right">
							企业名称：
						</td>
						<td>
							<bean:write name="company" property="companyName" />
						</td>
					</tr>
					<!--营业执照 注册号-->
					<tr>
						<td width="20%" height="40" align="right">
							营业执照 注册号：
						</td>
						<td>
							<bean:write name="company" property="licenceNo" />
						</td>
					</tr>
					<!--税务登记号-->
					<tr>
						<td width="20%" height="40" align="right">
							税务登记号：
						</td>
						<td>
							<bean:write name="company" property="taxId" />
						</td>
					</tr>
					<!--开户许可证核准号-->
					<tr>
						<td width="20%" height="40" align="right">
							开户许可证核准号：
						</td>
						<td>
							<bean:write name="company" property="accountLicenceNo" />
						</td>
					</tr>
					<!--组织机构代码-->
					<tr>
						<td width="20%" height="40" align="right">
							组织机构代码：
						</td>
						<td>
							<bean:write name="company" property="organizeNo" />
						</td>
					</tr>
					<!--银行账号-->
					<tr>
						<td width="20%" height="40" align="right">
							银行账号：
						</td>
						<td>
							<bean:write name="company" property="bankAccount" />
						</td>
					</tr>
					<!--银行名称-->
					<tr>
						<td width="20%" height="40" align="right">
							银行名称：
						</td>
						<td>
							<bean:write name="company" property="bankName" />
						</td>
					</tr>
					<!--负责人-->
					<tr>
						<td width="20%" height="40" align="right">
							负责人：
						</td>
						<td>
							<bean:write name="company" property="prinName" />
						</td>
					</tr>
					<!--负责人电话-->
					<tr>
						<td width="20%" height="40" align="right">
							负责人电话：
						</td>
						<td>
							<bean:write name="company" property="prinTel" />
						</td>
					</tr>
					<!--财务联系人-->
					<tr>
						<td width="20%" height="40" align="right">
							财务联系人：
						</td>
						<td>
							<bean:write name="company" property="linkMan" />
						</td>
					</tr>
					<!--财务联系电话-->
					<tr>
						<td width="20%" height="40" align="right">
							财务联系电话：
						</td>
						<td>
							<bean:write name="company" property="linkTel" />
						</td>
					</tr>
					<!--公司地址-->
					<tr>
						<td width="20%" height="40" align="right">
							公司地址：
						</td>
						<td>
							<bean:write name="company" property="regiAddr" />
						</td>
					</tr>
					<!--邮政编码-->
					<tr>
						<td width="20%" height="40" align="right">
							邮政编码：
						</td>
						<td>
							<bean:write name="company" property="regiZip" />
						</td>
					</tr>
					<tr>
						<td width="20%" height="40" align="right">
							企业LOGO：
						</td>
						<td colspan="3" bgcolor="#FFFFFF">
							<img alt="企业LOGO"
								src="<%=path%>/page/common/showPhoto.action?dbProperty=photo&amp;compressSize=86"
								width="86" class="personalLogo" style="cursor:hand"
								onclick="openPhoto('photo');" />
						</td>
					</tr>
					<tr>
						<td height="55" align="right" valign="top">
							&nbsp;
						</td>
						<td>
							<input type="button" name="sure" id="button2" value="修 改"
								class="button_style"
								onclick="loading('<%=path%>/page/myspace/modifyCorpAccountUserInfo.do');" />
							<%
										if (!IAccountConst.COMPANY_TYPE_GATEWAY.equals(user
										.getCompanyType())
										|| IAccountConst.USERTYPE_CORP_ADMIN.equals(user
										.getUserType())) {
							%>
							<input type="button" name="return" id="button" value="返 回"
								class="button_style"
								onclick="loading('<%=path%>/route.do?modual=space$account');" />
							<%
							} else {
							%>
							<input type="button" name="return" id="button" value="返 回"
								class="button_style"
								onclick="loading('<%=path%>/route.do?modual=custInfo$modify');" />
							<%
							}
							%>
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</div>
<div style="clear:both;"></div>
